eT4® META > eT4® META - AutoComplete |
This features is used in our autocomplete-dropdown (check out pages: upper left corner)
Parameter | Type | Description |
---|---|---|
experience (-> eT4.META-search:experience) | String | The experience specifies the name of the project data pool to be used. (obligatory) |
type (-> eT4.META-search:type) | String | Used to specify the main content type/topic to search. Hotel, Event, Gastro, Tour, POI, City, Area, Package, Article or Web. |
term | String | Searchstring to be searched for |
limit (-> eT4.META-search:limit) | Integer | The number of returned records is limited to the specified value. |
mode | String | Mode for the resulttype. Possible values: jquery (Default: empty) |
mkt (-> eT4.META-search:mkt) | String | This parameter determines the language in which the content is to be returned. |
city | Boolean | Counts geosearchresults. Has to be combined with geo-parameter. |
geo | Boolean | If true, geosearch is enabled. |
http://meta.et4.de/rest.ashx/autocomplete/?experience=demo-dahoam&limit=10&term=Hot
response |
Copy Code |
---|---|
[ {"Term":"hotel","Count":651}, {"Term":"hotel und gasthof","Count":586}, {"Term":"hotels","Count":251}, {"Term":"hotel und ferienwohnung","Count":74}, {"Term":"wellness-hotels","Count":47}, {"Term":"hot","Count":32},{"Term":"hotel garni","Count":15}, {"Term":"hotspots","Count":2}, {"Term":"nature-hotels","Count":2}, {"Term":"winter-hotels","Count":1} ] |
response |
Copy Code |
---|---|
[ {"Type":"geo","Lat":49.196388,"Lon":13.051404,"Term":"Lam","Count":426}, {"Term":"lamer","Count":739}, {"Term":"lamer winkel","Count":720}, {"Term":"lam","Count":526}, {"Term":"lamerer","Count":292}, {"Term":"lambacher","Count":61}, {"Term":"lambach","Count":49}, {"Term":"lamberg","Count":19}, {"Term":"lamberger","Count":19}, {"Term":"lamm","Count":7}, {"Term":"lamas","Count":1} ] |
http://meta.et4.de/rest.ashx/autocomplete/?experience=demo-dahoam&term=wandern+&limit=5&mode=jquery
response |
Copy Code |
---|---|
[ {"label":"wandern ostbayern","count":1005}, {"label":"wandern wald","count":1004}, {"label":"wandern ferienwohnung","count":94}, {"label":"wandern sonstiges","count":30}, {"label":"wandern oberbayern","count":17} ] |
Check out more samples at our API-Explorer: http://developer.et4.de/explorer/?samples=true